package com.example.softwareengg;




import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ScreenA extends Activity implements OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.screena);
		Button login = (Button) findViewById(R.id.login);
		login.setOnClickListener(this);
	}
	
	 public void onClick(View v) {
	        switch (v.getId()) {
	        case R.id.login:
	        	 Intent intent = new Intent(/*FirstActivity.this*/ v.getContext(), ScreenB.class);
				    startActivity(intent);

	            break;
	        	        default:
	            break;
	        }


	

	 }}
